package xyz.xmh.pattern.j2ee.mvcpattern;

/**
 * @author Administrator
 * <p>
 * 学生视图
 */
public class StudentView {

    /**
     * 打印学生细节
     *
     * @param name   姓名
     * @param rollNo 卷号
     */
    public void printStudentDetails(String name, String rollNo) {
        System.out.println("Student: ");
        System.out.println("Name: " + name);
        System.out.println("Roll No: " + rollNo);
    }
}
